package org.sorbonne.lex.model;

import java.util.Set;

public class Morph {

	private String morphString;

	private Set<String> syntaxSet;

	public Set<String> getSyntaxSet() {
		return syntaxSet;
	}

	public void setSyntaxSet(Set<String> syntaxSet) {
		this.syntaxSet = syntaxSet;
	}

	public boolean contains(String s) {
		return syntaxSet.contains(s);
	}

	public String getMorphString() {
		return morphString;
	}

	public void setMorphString(String morphString) {
		this.morphString = morphString;
	}

	@Override
	public String toString() {
		return morphString;
	}

}
